package concurrency.basicthreading.demo;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;


public class Demo14CaptureUncaughtException {

	public static void main(String[] args) {
		ExecutorService exec = Executors.newCachedThreadPool(new Demo14HandlerThreadFactory());
		exec.execute(new Demo14ExceptionThread());
		exec.shutdown();
	}
}
